package com.itheima.mapper;

import com.itheima.pojo.Users;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Insert("insert into users values (null,#{name},#{email},#{password},default,default,default,default)")
    void register(Users user);

    //登录

    Users login(Users user);
}
